#include<stdio.h>
int main(void)
{
	int a = 12, b = 3;
	float x = 18.5, y = 4.6;
	printf("%f\n", (float)(a * b) / 2);
	printf("%d\n", (int)x % (int)y);
	return 0;
}